﻿#region Using Statements
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using RhinoXNA;
#endregion

namespace RhinoXNA
{
    public class Projectile : IRhinoRenderable
    {
        public float MovementSpeed {get; set;}

        private ModelEntity _projModel;

        public Projectile(SpriteBatch sBatch, PlayerCamera cam, float aspectRatio, Model modelToLoad, Vector3 position, Vector3 scale, float boundingRadius)
            :base(sBatch, cam, aspectRatio)
        {
            this.MovementSpeed = 5.0f;
        }

        public override void Initialize(string fileToLoad)
        {
            
        }

        public override void Update(GameTime gameTime)
        {
            this._projModel.Position = new Vector3(this._projModel.Position.X,
                this._projModel.Position.Y,
                this._projModel.Position.Z - MovementSpeed);
        }

        public override void Render()
        {
            
        }
    }
}
